import { Component } from '@angular/core';

import { AboutPage } from '../about/about';
import { ContactPage } from '../contact/contact';
import { HomePage } from '../home/home';
import { TestPage } from '../test/test';
import { UsermodifyPage } from '../usermodify/usermodify';
@Component({
  templateUrl: 'tabs.html'
})
export class TabsPage {

  tabRoots: Object[];

  constructor() {

    this.tabRoots = [
      {
        root: HomePage,
        tabTitle: '状态',
        tabIcon: 'home'
      },
      {
        root: ContactPage,
        tabTitle: '控制',
        tabIcon: 'notifications'
      },
      {
        root: AboutPage,
        tabTitle: '历史',
        tabIcon: 'document'
      },
      {
        root: UsermodifyPage,
        tabTitle: '我的',
        tabIcon: 'settings'
      },
      {
        root: TestPage,
        tabTitle: '测试',
        tabIcon: 'settings'
      }
    ];
  }
}
